<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增公告')" />
    <th:block th:include="include :: datetimepicker-css" />
    <th:block th:include="include :: bootstrap-select-css" />
    <th:block th:include="include :: summernote-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-notice-add">
        <div class="form-group">
            <label class="col-sm-2 control-label">类别名称：</label>
            <div class="col-sm-10">
                <input id="noticeClass" name="noticeClass" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">类别备注：</label>
            <div class="col-sm-10">
                <input id="remarks" name="remarks" class="form-control" type="text" required>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: summernote-js" />
<script type="text/javascript">
    var prefix = ctx + "system/mynotice";

    function submitHandler() {
        var val = $("#form-notice-add").serialize();
        if ($.validate.form()) {
            var fromData = $("#form-notice-add").serialize();
            $.operate.save(prefix + "/add",fromData);
        }
    }

</script>
</body>
</html>